package electricity.service;

import electricity.domain.DeviceInfo;
import electricity.dto.DeviceInfoDto;
import electricity.dto.DeviceQueryDTO;
import electricity.vo.DeviceVO;
import electricity.vo.HealthyVo;
import electricity.vo.HighRiskVo;
import electricity.vo.PageResult;

import java.util.List;

public interface DeviceService {


    PageResult pageQuery(DeviceQueryDTO deviceQueryDTO);

    DeviceVO update(DeviceInfoDto deviceInfoDto);

    DeviceVO insert(DeviceInfoDto deviceInfoDto);

    void delete(Integer id);

    void batchRemove(List<Integer> ids);

    DeviceVO updatestatus(DeviceInfoDto deviceInfoDto);

    PageResult paramspageQuery(DeviceQueryDTO deviceQueryDTO);


    List<String> getParamNamesByDeviceId(Integer deviceId);

    HealthyVo gethealthStats();


    List<HighRiskVo> getHighRiskDevices(Integer deviceId);
}
